<?php

/**
 *
 * 应用挂件
 * @version $Id:$
 *
 */

namespace Todo\Widget;
use Think\Controller;

class ApplicationWidget extends Controller{

	/**
	 * 应用侧边切换
	 * @param string|array $where
	 */
	public function sider($where){
		$appList = D('Todo/Sys/Application')->where($where)->select();
		$this->assign('appList', $appList);
		$this->display(APP_PATH. '../data/tpl/app/widget/app_sider.html');
	}
}
?>